<?php

/**
 * XHTML_Th, xhtml_lib
 * 
 * This file contains the source code for the XHTML_Th class.
 * @author Fernando Jimenez Mocobono <fjmcool@gmail.com>
 * @version 0.1
 * @package xhtml_lib
 */

include_once "XHTML_Table_Common_Element.php";
include_once "XHTML__Tr_Content.php";

/**
 * The XHTML_Th class is a handler for the th xhtml-strict tag as a part of a 
 * xhtml-strict php-handler implementation.
 */
class XHTML_Th extends XHTML_Tr_Element {
    
    // inner elements
    
    
    // Methods
    
    /**
     * Constructs a XHTML_Th object.
     */
    function __construct()
    {
    	parent::__construct();
    }
    
    
 
    // Overriding the toString method for a proper implementation.
    
    /**
    * Returns the string representation for echoing the class atributes.
    *
    * @return string
    */
    function toString()
    {
    	$auxString = "<th".parent::toString();
    	
    	$auxString = $auxString."</th>\n";
                
        return $auxString;
    }
    
}

?>